package com.ts.content.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ts.content.entity.CommentEntity;
import com.ts.content.entity.TopicEntity;
import com.ts.content.vo.CommentVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.context.annotation.Primary;

import java.util.List;

/**
 * 评论表
 *
 * @author admin admin@qq.com
 * @since 1.0.0 2023-03-07
 */
@Mapper
public interface CommentMapper extends BaseMapper<CommentEntity> {

    List<CommentEntity> commentListPostId(@Param("id") Integer id);


}